package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 订单表 t_order
 * 
 * @author ruoyi
 * @date 2019-08-07
 */
public class Order extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 主键 */
	private Long id;
	/** 地址ID */
	private Long addressId;
	/** 名称 */
	private String name;
	/** 预约重量，单位kg */
	private Integer subscribeWeight;
	/** 预约时间 */
	private Date subscribeTime;
	/** 图片 */
	private String images;
	/** 类型 */
	private String type;
	/** 状态（0正常 1停用） */
	private String status;

	public void setId(Long id) 
	{
		this.id = id;
	}

	public Long getId() 
	{
		return id;
	}
	public void setAddressId(Long addressId) 
	{
		this.addressId = addressId;
	}

	public Long getAddressId() 
	{
		return addressId;
	}
	public void setName(String name) 
	{
		this.name = name;
	}

	public String getName() 
	{
		return name;
	}
	public void setSubscribeWeight(Integer subscribeWeight) 
	{
		this.subscribeWeight = subscribeWeight;
	}

	public Integer getSubscribeWeight() 
	{
		return subscribeWeight;
	}
	public void setSubscribeTime(Date subscribeTime) 
	{
		this.subscribeTime = subscribeTime;
	}

	public Date getSubscribeTime() 
	{
		return subscribeTime;
	}
	public void setImages(String images) 
	{
		this.images = images;
	}

	public String getImages() 
	{
		return images;
	}
	public void setType(String type) 
	{
		this.type = type;
	}

	public String getType() 
	{
		return type;
	}
	public void setStatus(String status) 
	{
		this.status = status;
	}

	public String getStatus() 
	{
		return status;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("addressId", getAddressId())
            .append("name", getName())
            .append("subscribeWeight", getSubscribeWeight())
            .append("subscribeTime", getSubscribeTime())
            .append("images", getImages())
            .append("type", getType())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
